package com.hmy.finance.dal.po.receiveAdjust;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hmy.ccp.common.po.BasePo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author wenjian
 * @version 1.0
 * @description 应收调整详情表
 * @date 2024/2/26 10:10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("receive_adjust_detail")
public class ReceiveAdjustDetailPo extends BasePo {

    /**
     * 主键标识
     */
    @TableId(value = "receive_adjust_detail_id", type = IdType.ASSIGN_ID)
    private Long receiveAdjustDetailId;

    /**
     * 应收调整id
     */
    private Long adjustId;

    /**
     * 应收调整单号
     */
    private String adjustNo;

    /**
     * 调整类型：1-运费，2-改装，3-租金，4-索赔
     */
    private Integer adjustType;

    /**
     * 调整方式：1-增加，2-减免
     */
    private Integer adjustWay;

    /**
     * 调整金额
     */
    private BigDecimal adjustAmount;

    /**
     * 费用调整计算原因
     */
    private String adjustReason;

}
